#pragma once

#include <cppunit/extensions/HelperMacros.h>
#include <packet.h>

using namespace remjob;

class PacketTest : public CPPUNIT_NS::TestFixture
{
  CPPUNIT_TEST_SUITE( PacketTest );
  CPPUNIT_TEST( testSerializePacket );
  CPPUNIT_TEST( testReadPFile );
  //CPPUNIT_TEST_EXCEPTION( testSocketException, SocketException );
  CPPUNIT_TEST_SUITE_END();

public:
  void setUp();
  void tearDown();

  void testSerializePacket();
  void testReadPFile();
};